package ioc.singleorprototype;

import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * Created on 2021-04-29
 */
@Data
@Component
public class SingleDemo {

    public void speak(){
        System.out.println("SingleDemo");
    }
}
